//
//  FrontView.h
//  iphoneLive
//
//  Created by QuanQu on 2018/7/9.
//  Copyright © 2018年 cat. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "RKLampView.h"

#import "CCAnimationBtn.h"
#import <YYText/YYLabel.h>
typedef void (^FrontBlock)(NSString *type);

@interface FrontView : UIView

@property(nonatomic,strong)UIButton *shadowBtn;                     //后期  botView 添加富文本点击事件(广告详情)手势冲突，利用btn tager暂停视频

/** 头像 点赞 评论 分享集合 */
@property(nonatomic,strong)UIView *rightView;
@property(nonatomic,strong) UIButton *iconBtn;
@property(nonatomic,strong) UIButton *followBtn;                    //关注
@property(nonatomic,strong) UIButton *likebtn;                      //点赞

@property(nonatomic,strong) UIButton *commentBtn;
@property(nonatomic,strong) UIButton *enjoyBtn;
@property(nonatomic,strong)UIImageView *discIV;                     //唱片背景
@property(nonatomic,strong)UIImageView *musicIV;                    //歌曲背景图
@property(nonatomic,strong)UIImageView *symbolAIV;                  //音符A
@property(nonatomic,strong)UIImageView *symbolBIV;                  //音符B
//  @zj  首页变量yc图片,存证图片,公证图片
@property(nonatomic,strong)UIImageView *ycIV;
@property(nonatomic,strong)UIImageView *savedIV;
@property(nonatomic,strong)UIImageView *gzsIV;

/** 名字 标题 (音乐)集合 */
@property(nonatomic,strong)UIView *botView;
@property(nonatomic,strong)RKLampView *musicL;                    //音乐
@property(nonatomic,strong)YYLabel *titleL;                   //视频标题
@property(nonatomic,strong)UILabel *nameL;
@property(nonatomic,strong)UILabel *adLabel;                      //广告
//  @zj  首页变量yc文字,存证文字,公证文字
@property(nonatomic,strong)YYLabel *ycLabel;
@property(nonatomic,strong)YYLabel *czLabel;
@property(nonatomic,strong)YYLabel *gzLabel;

- (instancetype)initWithFrame:(CGRect)frame callBackEvent:(FrontBlock)event;

-(void)updateData:(NSDictionary*)dic;
-(void)setMusicName:(NSString *)str;

@end
